<template>
  <div>
    <LazyLoadTab v-model="activeName" :tabMenus="menus" :destroyOnClose="true"></LazyLoadTab>
  </div>
</template>

<script>
export default {
  props:{
    type: {
      type: String,
      default: 'show'
    },
    rowData: {
      type: Object,
      default: () => ({})
    }
  },
  name: 'custsDetail',
  data() {
    return {
      activeName: '基本信息',
      menus: [
        {
          title: '基本信息',
          path: 'potenCus/basePlate/cust1Manage/baseInfo',
          params: { rowData: this.rowData }
        },
        {
          title: '接触记录',
          path: 'potenCus/basePlate/cust1Manage/contact',
          params: { rowData: this.rowData }
        },
        {
          title: '相关客户',
          path: 'potenCus/basePlate/cust1Manage/about',
          params: { rowData: this.rowData }
        },
        // {
        //   title: '变更历史',
        //   path: 'potenCus/basePlate/cust1Manage/change',
        //   params: { rowData: this.rowData }
        // },
      ]
    };
  }
};
</script>

<style lang="less" scoped>
</style>
